<?php

namespace app\admin\model;

use app\common\model\Admin;

class User extends Admin
{
    protected $autoWriteTimestamp = 'datetime';
    public function identity()
    {
        return $this->hasMany('identity');
    }
    public function business()
    {
    	return $this->belongsTo('business');
    }
    public function fwgl()
    {
    	return $this->belongsTo('fwgl');
    }
    public function glzx()
    {
    	return $this->belongsTo('glzx');
    }
}
